package com.zygh.policeasset.pojo.vo;

import cn.afterturn.easypoi.util.PoiElUtil;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;

/* loaded from: police-asset-2.0-0.0.1-SNAPSHOT.jar:BOOT-INF/classes/com/zygh/policeasset/pojo/vo/BeyondTheAssets.class */
public class BeyondTheAssets implements Serializable {
    @ApiModelProperty("主键")
    private Integer id;
    @ApiModelProperty("资产编号(全部都有)")
    private String assetNum;
    @ApiModelProperty("资产名称(全部都有)")
    private String name;
    @ApiModelProperty("折旧年限(都有)")
    private Integer depreciationYear;
    @ApiModelProperty("提折旧时间(开始时间)")
    private String startProvisionDate;
    @ApiModelProperty("提折旧时间(结束时间)")
    private String endProvisionDate;

    public void setId(Integer id) {
        this.id = id;
    }

    public void setAssetNum(String assetNum) {
        this.assetNum = assetNum;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setDepreciationYear(Integer depreciationYear) {
        this.depreciationYear = depreciationYear;
    }

    public void setStartProvisionDate(String startProvisionDate) {
        this.startProvisionDate = startProvisionDate;
    }

    public void setEndProvisionDate(String endProvisionDate) {
        this.endProvisionDate = endProvisionDate;
    }

    @Override // java.lang.Object
    public boolean equals(Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof BeyondTheAssets)) {
            return false;
        }
        BeyondTheAssets other = (BeyondTheAssets) o;
        if (!other.canEqual(this)) {
            return false;
        }
        Object this$id = getId();
        Object other$id = other.getId();
        if (this$id == null) {
            if (other$id != null) {
                return false;
            }
        } else if (!this$id.equals(other$id)) {
            return false;
        }
        Object this$assetNum = getAssetNum();
        Object other$assetNum = other.getAssetNum();
        if (this$assetNum == null) {
            if (other$assetNum != null) {
                return false;
            }
        } else if (!this$assetNum.equals(other$assetNum)) {
            return false;
        }
        Object this$name = getName();
        Object other$name = other.getName();
        if (this$name == null) {
            if (other$name != null) {
                return false;
            }
        } else if (!this$name.equals(other$name)) {
            return false;
        }
        Object this$depreciationYear = getDepreciationYear();
        Object other$depreciationYear = other.getDepreciationYear();
        if (this$depreciationYear == null) {
            if (other$depreciationYear != null) {
                return false;
            }
        } else if (!this$depreciationYear.equals(other$depreciationYear)) {
            return false;
        }
        Object this$startProvisionDate = getStartProvisionDate();
        Object other$startProvisionDate = other.getStartProvisionDate();
        if (this$startProvisionDate == null) {
            if (other$startProvisionDate != null) {
                return false;
            }
        } else if (!this$startProvisionDate.equals(other$startProvisionDate)) {
            return false;
        }
        Object this$endProvisionDate = getEndProvisionDate();
        Object other$endProvisionDate = other.getEndProvisionDate();
        return this$endProvisionDate == null ? other$endProvisionDate == null : this$endProvisionDate.equals(other$endProvisionDate);
    }

    protected boolean canEqual(Object other) {
        return other instanceof BeyondTheAssets;
    }

    @Override // java.lang.Object
    public int hashCode() {
        Object $id = getId();
        int result = (1 * 59) + ($id == null ? 43 : $id.hashCode());
        Object $assetNum = getAssetNum();
        int result2 = (result * 59) + ($assetNum == null ? 43 : $assetNum.hashCode());
        Object $name = getName();
        int result3 = (result2 * 59) + ($name == null ? 43 : $name.hashCode());
        Object $depreciationYear = getDepreciationYear();
        int result4 = (result3 * 59) + ($depreciationYear == null ? 43 : $depreciationYear.hashCode());
        Object $startProvisionDate = getStartProvisionDate();
        int result5 = (result4 * 59) + ($startProvisionDate == null ? 43 : $startProvisionDate.hashCode());
        Object $endProvisionDate = getEndProvisionDate();
        return (result5 * 59) + ($endProvisionDate == null ? 43 : $endProvisionDate.hashCode());
    }

    @Override // java.lang.Object
    public String toString() {
        return "BeyondTheAssets(id=" + getId() + ", assetNum=" + getAssetNum() + ", name=" + getName() + ", depreciationYear=" + getDepreciationYear() + ", startProvisionDate=" + getStartProvisionDate() + ", endProvisionDate=" + getEndProvisionDate() + PoiElUtil.RIGHT_BRACKET;
    }

    public Integer getId() {
        return this.id;
    }

    public String getAssetNum() {
        return this.assetNum;
    }

    public String getName() {
        return this.name;
    }

    public Integer getDepreciationYear() {
        return this.depreciationYear;
    }

    public String getStartProvisionDate() {
        return this.startProvisionDate;
    }

    public String getEndProvisionDate() {
        return this.endProvisionDate;
    }
}